function setNumPerPage(data){
	if(data.numPerPage){
		$("select[name=numPerPage]")
			.find("option[value="+data.numPerPage+"]").attr({"selected":"selected"})
			.siblings().removeAttr("selected");
	}
}